package com.ruoyi.system.service;

import com.ruoyi.system.domain.StudentLeave;

import java.util.List;

/**
 * 请假记录Service接口
 * 
 * @author ruoyi
 * @date 2023-03-29
 */
public interface IStudentLeaveService 
{
    /**
     * 查询请假记录
     * 
     * @param studentLeaveId 请假记录主键
     * @return 请假记录
     */
    public StudentLeave selectStudentLeaveByStudentLeaveId(Long studentLeaveId);

    /**
     * 查询请假记录列表
     * 
     * @param studentLeave 请假记录
     * @return 请假记录集合
     */
    public List<StudentLeave> selectStudentLeaveList(StudentLeave studentLeave);

    /**
     * 新增请假记录
     * 
     * @param studentLeave 请假记录
     * @return 结果
     */
    public int insertStudentLeave(StudentLeave studentLeave);

    /**
     * 修改请假记录
     * 
     * @param studentLeave 请假记录
     * @return 结果
     */
    public int updateStudentLeave(StudentLeave studentLeave);

    /**
     * 批量删除请假记录
     * 
     * @param studentLeaveIds 需要删除的请假记录主键集合
     * @return 结果
     */
    public int deleteStudentLeaveByStudentLeaveIds(String studentLeaveIds);

    /**
     * 删除请假记录信息
     * 
     * @param studentLeaveId 请假记录主键
     * @return 结果
     */
    public int deleteStudentLeaveByStudentLeaveId(Long studentLeaveId);
}
